package com.zhangjianling.premp.dao.sys;

import com.zhangjianling.premp.entity.sys.SysUser;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;



public interface SysUserDao extends PagingAndSortingRepository<SysUser, String>,
JpaSpecificationExecutor<SysUser>{

	SysUser findByUserName(String userName);

	SysUser findByUserNameAndPassword(String userName, String password);
	
}
